import request from '@/utils/request'

//分页查询项目建议
export function getProjectSuggest (query) {
  return request({
    url: '/suggest/pageQueryProjectSuggest',
    method: 'get',
    params: query
  })
}

//查询建议的回复列表
export function queryProjectReply (id) {
  return request({
    url: '/suggest/querySuggestionReply?projectSuggestionId=' + id,
    method: 'get'
  })
}

//查询建议的回复列表
export function querySubmitReply (data) {
  return request({
    url: '/suggest/submitReply',
    method: 'post',
    data
  })
}

//删除回复
export function deleteSubmitReply (id) {
  return request({
    url: '/suggest/deleteReply/' + id,
    method: 'post'
  })
}
